


//
//  VideoTableViewCell.m
//  NeiHanDemo
//
//  Created by qianfeng on 16/2/20.
//  Copyright © 2016年 王卓越. All rights reserved.
//

#import "VideoTableViewCell.h"
//第三方库 SDWebImage  ->网络图片下载
#import "UIImageView+WebCache.h"
//转化日期 converDateString:
#import "NHHelper.h"

@implementation VideoTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


- (void)updateUIWithModel:(VideoModel *)model{
    [self.videoImageView sd_setImageWithURL:[NSURL URLWithString:model.vpic_small]];
    self.contentLabel.text = model.wbody;
    self.updateTimeLabel.text = [NHHelper converDateString:model.update_time];
}

@end
